package cn.zxhysy.booksmall.controller;

import cn.zxhysy.booksmall.service.CarService;
import cn.zxhysy.booksmall.service.ProLineService;
import cn.zxhysy.booksmall.service.ProductOrderService;
import cn.zxhysy.booksmall.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @className: BasicController
 * @description: 模块化服务
 */
@ApiIgnore
@Component
public class BasicController {
    public final UserService userService;
    public final CarService carService;
    public final ProLineService proLineService;
    public final ProductOrderService productOrderService;
    @Autowired
    public BasicController(UserService userService, CarService carService, ProLineService proLineService, ProductOrderService productOrderService) {
        this.userService = userService;
        this.carService = carService;
        this.proLineService = proLineService;
        this.productOrderService = productOrderService;
    }

    /**
     * 用户登录回话状态钥匙
     */
    public static final String USER_REDIS_SESSION = "user_redis_session";

    /**
     * areaName
     */
    public static final String CONCRETE_NAME = "concreteName";
}
